package com.example.springtransdemo.demos.web.service;

import com.example.springtransdemo.demos.web.mapper.UserInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
 * @author Q
 * @create 2025-06-17-17:15
 */
@Service
public class UserService {
    @Autowired
    private UserInfoMapper userInfoMapper;

    public Integer insertUser(String name, String password) {
        return userInfoMapper.insert(name, password);
    }
}
